<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        
// var f = new Function("a","b","return a*b;");
// document.write(f(10,10));


let user={
    name:null,
    setUsername: function(name){
        this.name=name;
    },
    getUsername: function(){
        return this.name;
    }
};
user.setUsername("唐玮");
console.log(user.getUsername());


    </script>
</body>
</html>